package appapi.dto.bridge;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author dhq
 * @version 1.0
 * @date 2023/9/19  9:28
 */
@Data
@ApiModel("车辆通行记录导出")
public class CarRecordExportDto implements Serializable {
    private static final long serialVersionUID = 1L;
//    @ApiModelProperty(value="车辆通行记录的id")
//    private Long parkId;
    /**
     * 设备编号
     */
    @ApiModelProperty("设备编号")
    @Excel(name = "设备编号",orderNum = "0",width = 50)
    private String  parkNo;

    /**
     * 所属项目
     */
    @ApiModelProperty(value="所属项目")
    @Excel(name = "所属项目",orderNum = "0",width = 50)
    private String projName;;


//    /**
//     * 设备名称
//     */
//    @ApiModelProperty(value="设备名称")
//    private String equipName;


    /**
     * 车牌号
     */
    @ApiModelProperty(value="车牌号")
    @Excel(name = "车牌号",orderNum = "0",width = 50)
    private String carNo;


    /**
     * 车辆类型
     */
    @ApiModelProperty(value="车辆类型")
    @Excel(name = "车辆类型",orderNum = "0",width = 50)
    private Integer carType;


    /**
     * 入场时间---create_time
     */
    @ApiModelProperty(value="入场时间")
    @Excel(name = "入场时间",orderNum = "0",width = 50 , format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    /**
     * 离场时间--lastModifyTime
     */
    @ApiModelProperty(value="离场时间")
    @Excel(name = "离场时间",orderNum = "0",width = 50 , format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    /**
     * 记录时间----downTime
     */
    @ApiModelProperty(value="记录时间")
    @Excel(name = "记录时间",orderNum = "0",width = 50 , format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime recordTime;

    /**
     *车辆编号
     */
    @ApiModelProperty(value="时长")
    @Excel(name = "时长",orderNum = "0",width = 50 )
    private Long carId;
}
